﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QL_DTTN.DTO.DTO
{
    public partial  class Quyen :DtoClass
    {
        public Quyen()
        { _tableName = "Quyen";
        _keyField = "MaQuyen";
        }
        public Quyen(Int16 maQuyen,string tenQuyen,bool khoa)
        { _tenQuyen = "Quyen";
        _keyField = "MaQuyen";
        this.MaQuyen = maQuyen;
        this.TenQuyen = tenQuyen;
        this.Khoa = khoa;
        }
        private Int16 _maQuyen = 0;

        public Int16 MaQuyen
        {
            get { return _maQuyen; }
            set { _maQuyen = value; }
        }
        private string _tenQuyen = "";

        public string TenQuyen
        {
            get { return _tenQuyen; }
            set { _tenQuyen = value; }
        }
        private bool _khoa = false;

        public bool Khoa
        {
            get { return _khoa; }
            set { _khoa = value; }
        }
    }
}
